import Layout from '@/view/layout/layout';

export default [{
	path: '/yy',
	component: Layout,
	redirect: "/yy/rq",
	name: 'app.yy',
	meta: {
		title: "应用仓库管理",
		iconfont: "icon-cangku",
	},
	children: [
//		{
//			path: "ck",
//			component: () =>
//				import('@/view/pages/yingyong/cangku'),
//			name: 'app.yy.ck',
//			meta: {
//				title: "仓库管理",
//			}
//		},
		{
			path: "rq",
			component: () =>
				import('@/view/pages/yingyong/rongqi'),
			name: 'app.yy.rq',
			meta: {
				title: "容器",
			}
		},
		{
			path: "rq/xq",
			component: () =>
				import('@/view/pages/yingyong/rongqiDetail'),
			name: 'app.yy.rq.xq',
			hidden: true,
			meta: {
				title: "容器详情",
			}
		},
		{
			path: "lyy",
			component: () =>
				import('@/view/pages/yingyong/luoyingyong'),
			name: 'app.yy.lyy',
			meta: {
				title: "裸应用",
			}
		},{
			path: "lyy/xq",
			component: () =>
				import('@/view/pages/yingyong/luoyingyongDetail'),
			name: 'app.yy.lyy.xq',
			hidden: true,
			meta: {
				title: "裸应用详情",
			}
		},{
			path: "zj",
			component: () =>
				import('@/view/pages/yingyong/zujian'),
			name: 'app.yy.zj',
			meta: {
				title: "组件",
			}
		},{
			path: "zj/xq",
			component: () =>
				import('@/view/pages/yingyong/zujianDetail'),
			name: 'app.yy.zj.xq',
			hidden: true,
			meta: {
				title: "组件详情",
			}
		},
		{
			path: "add",
			component: () =>
				import('@/view/pages/yingyong/addApp'),
			name: 'app.yy.add',
			hidden: true,
			meta: {
				title: "新建",
			}
		},
		{
			path: "deploy",
			component: () =>
				import('@/view/pages/yingyong/deploy'),
			name: 'app.yy.deploy',
			hidden: true,
			meta: {
				title: "发布",
			}
		}
	]
}, ]